#include <iostream>
#include <cstdint>

#include "bit.h"

// Bit
Bit::Bit() : 
  set( new BitSet8() ), index( 0 ) {}

Bit::Bit( BitSet * set, int index ) : 
  set( set ), index( index ) {}

using namespace std;

//Bit operator []( BitSet & set, int index ) {
//  return Bit( &set, index );
//}

int main( int argc, char ** argv ) { 
  BitSet8 a;
  a.print();
  a.set( 1, true  );
  cout << a.get( 1 ) << endl;
  a.set( 0, false );
  cout << a.get( 0 ) << endl;
  a.set( 5, true  );
  a.set( 4, true   );
  a.print();
}
